<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ShopNC后台管理系统</title>
<link href="css/main.css" rel="stylesheet" type="text/css" />
<smart>include file ='sys_head_config.html'</smart>

</head>
<body>
<div id="ceng"> <smart>include file ='sys_header.html'</smart>
  <div id="main" style="height:auto">
    <div id="welcome">
      <p>欢迎您进入ShopNC后台管理系统！</p>
　　　　
通过后台管理系统，您可以轻松管理商铺相关、查询信息,ShopNC为您打造方便、快捷的后台管理系统！       </div>
    <em>后台管理系统</em>
    <div id="main-left">
      <div id="product-help" style="background-image:none; height:auto; margin-top:0px;">
      <form action="order.manage.php" method="post" name="form_p_list" id="form_p_list" style="margin-top:20px">
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#CCCCCC">
	  <tr bgcolor="#FFFFFF">
        <td>交易类型：
		<select name="search_sell_type" id="search_sell_type">
			<option value="">请选择</option>
			<option value="0">拍卖</option>
			<option value="1">一口价</option>
			<option value="2">团购</option>
		</select>
		</td>
		<td>好评：
			<select name="search_comment" id="search_comment">
				<option value="">请选择</option>
				<option value="0">卖家已好评</option>
				<option value="1">买家已好评</option>
				<option value="2">双方已好评</option>
				<option value="3">双方未好评</option>
			</select>
		</td>
	  	<td>订单状态：
			<select name="search_sp_state" id="search_sp_state">
				<option value="">请选择</option>
				<option value="0">已购买</option>
				<option value="1">已支付</option>
				<option value="2">已发货</option>
				<option value="3">已收货</option>
<!--				<option value="4">团购中</option>
				<option value="5">团购失败</option>-->
			</select>
		</td>
		<td><input name="submit3" value="搜索" type="submit" />
		</td>
	  </tr>
</table>
</form>
<form action="order.manage.php?action=del" method="post" style="margin-bottom:20px; margin-top:20px">
<table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#cccccc">
	<tr bgcolor="#ffffff">
		<th height="30" align="center" valign="middle" bgcolor="#DBE6DE">删</th>
		<th height="30" align="center" valign="middle" bgcolor="#DBE6DE">图片</th>
		<th height="30" align="center" valign="middle" bgcolor="#DBE6DE">宝贝名称</th>
		<th height="30" align="center" valign="middle" bgcolor="#DBE6DE">联络卖家</th>
		<th height="30" align="center" valign="middle" bgcolor="#DBE6DE">联络买家</th>
		<th height="30" align="center" valign="middle" bgcolor="#DBE6DE">价格</th>
		<th height="30" align="center" valign="middle" bgcolor="#DBE6DE">交易状态</th>
		<th height="30" align="center" valign="middle" bgcolor="#DBE6DE">双方评价</th>
		<th height="30" align="center" valign="middle" bgcolor="#DBE6DE">操作</th>
    </tr>
	<smart> section name=i loop=$product_order_array </smart>
  	<tr bgcolor="#ffffff">
  		<td width="5%" height="67" align="center" valign="middle"><input name="chboxSPid[]" type="checkbox" value="<smart> $product_order_array[i].sp_id </smart>"/></td>	
 		<td height="67" align="center" valign="middle"><a href="<smart> $site_url </smart>/home/product.php?action=view&amp;pid=<smart> $product_order_array[i].p_code </smart>" target="_blank"><img src="<smart> $site_url </smart>/<smart> $product_order_array[i].p_pic </smart>" alt="<smart> $product_order_array[i].p_name </smart>" border="0" style="vertical-align:middle; margin-left:10px;margin-right:10px; width:50px; height:50px" onError="this.src='../templates/default/home/images/default.jpg'" /></a></td>
    	<td width="10%" height="67" align="center" valign="middle"><a href="<smart> $site_url </smart>/home/product.php?action=view&amp;pid=<smart> $product_order_array[i].p_code </smart>" target="_blank"><smart> $product_order_array[i].p_name </smart></a></td>
  		<td width="10%" height="67" align="center" valign="middle"><a href="<smart> $site_url </smart>/store/index.php?userid=<smart> $product_order_array[i].seller_id </smart>" target='_blank'><smart> $product_order_array[i].seller_name </smart></a></td>
		<td width="10%" height="67" align="center" valign="middle"><a href="<smart> $site_url </smart>/store/index.php?userid=<smart> $product_order_array[i].buyer_id </smart>" target='_blank'><smart> $product_order_array[i].buyer_name </smart></a></td>
    	<td width="10%" height="67" align="center" valign="middle"><smart> assign var='sell_type' value = $product_order_array[i].sell_type </smart><smart> $p_sell_type[$sell_type] </smart><br/>
    	  <smart> $product_order_array[i].total_price </smart></td>
    	<td width="10%" height="67" align="center" valign="middle"><smart> assign var='p_sp_state' value = $product_order_array[i].sp_state </smart><smart> $sp_state[$p_sp_state] </smart></td>
		<td width="10%" height="67" align="center" valign="middle"><smart> $product_order_array[i].comment </smart></td>
    	<td width="10%" height="67" align="center" valign="middle"><a href="order.manage.php?action=view&sp_id=<smart> $product_order_array[i].sp_id </smart>">查看</a></td>
    </tr>
	<smart> /section </smart>
  	<tr bgcolor="#ffffff">
    	<td height="30" colspan="9" align="center" valign="middle"><input type="submit" name="Submit" value="<smart> $langbtnProductDel </smart>" /></td>
  	</tr>
  	<tr bgcolor="#ffffff">
    	<td height="30" colspan="9" align="center" valign="middle"><smart> $page_list </smart></td>
  	</tr>
</table>
</form>
      </div>
    </div>
    	<smart>include file ='sys_right_help.html'</smart>
    <div style="clear:both"></div>
  </div>
<smart>include file ='sys_footer.html'</smart>
</div>
</body>
</html>
